package com.google.code.sip.ucenter.service;

import java.util.List;

import com.google.code.sip.ucenter.model.FriendGroup;
import com.google.code.sip.ucenter.model.User;

public interface FriendGroupManager {

	FriendGroup getFriendGroup(String id);

	List<FriendGroup> getFriendGroups(User user);

	FriendGroup getDefaultFriendGroup(User user);

	void updateGroupName(FriendGroup friendGroup, String groupName);

	void deleteFriendGroup(String id);

	void deleteFriendGroup(FriendGroup friendGroup);

	void addFriendGroup(User user, String groupName, String description);

	void createdCommonGroups(User user);

}
